/**
 * 
 */
package edu.tsinghua.mrpvc.device;

/**
 * @author Tangjian Deng & Wei Feng
 *
 */
public interface RFIDDetect extends BasicDevice {
	public int openDoor();
	
	//Publish Event
	public static final String EVENT_TOPIC_STATE = "863pvc/Device/RFID/State";
	public static final String EVENT_TOPIC_VISITOR = "863pvc/Device/RFID/Vistor";
	public static final String EVENT_TOPIC_LEAVE = "863pvc/Device/RFID/Leave";
	
	//Receive Event
	public static final String EVENT_TOPIC_ISVALID = "863pvc/Device/RFID/Ctrl/IsValid";
	
	//Event Property
	public static final String EVENT_PROPER_ID = "ID";
	public static final String EVENT_PROPER_DETECT_ID = "DetectID";
	public static final String EVENT_PROPER_ISVALID = "IsValid";
	
	public interface Constants{
		public static final String ISVALID_TRUE = "true";
		public static final String ISVALID_FALSE = "false";
	}
}
